package com.zd.controller;


import com.zd.config.Result;
import com.zd.entity.Student;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 学生表 前端控制器
 * </p>
 *
 * @author TSP
 * @since 2021-08-27
 */
@RestController
@RequestMapping("/student")
public class StudentController {

    @ApiOperation(value = "添加学生")
    @PostMapping(value = "/insertStudent")
    public Result insertUser(Student student) {
        return Result.success("成功");
    }
}
